﻿using Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 异常处理
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] arr = { 1,2,3,4,5,6,7,8,9};


            var d = arr.Where(x => x > 5 || x>1 && x<8 );
            foreach (var item in d)
            {
                Console.WriteLine(item);
            }

            Console.ReadKey();

        }

      

    }
}
